package net.roobook.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

/**
 * @Author Roobook
 * @description desc
 * @date 2022/4/7
 */
@EnableZuulProxy    // 开启Zuul服务网关功能
@EnableDiscoveryClient  // 开启服务注册与发现
@SpringBootApplication
public class RoobookGatewayApplication {
    public static void main(String[] args) {
        SpringApplication.run(RoobookGatewayApplication.class, args);
    }
}
